<?xml version="1.0"?>
<doc>
    <assembly>
        <name>MongoDB.Bson</name>
    </assembly>
    <members>
        <member name="T:MongoDB.Bson.BsonDocument">
            <summary>
            Represents a BSON document.
            </summary>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.#ctor">
            <summary>
            Initializes a new instance of the BsonDocument class.
            </summary>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.#ctor(System.Boolean)">
            <summary>
            Initializes a new instance of the BsonDocument class specifying whether duplicate element names are allowed
            (allowing duplicate element names is not recommended).
            </summary>
            <param name="allowDuplicateNames">Whether duplicate element names are allowed.</param>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.#ctor(MongoDB.Bson.BsonElement)">
            <summary>
            Initializes a new instance of the BsonDocument class and adds one element.
            </summary>
            <param name="element">An element to add to the document.</param>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.#ctor(System.Collections.Generic.IDictionary{System.String,System.Object})">
            <summary>
            Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs.
            </summary>
            <param name="dictionary">A dictionary to initialize the document from.</param>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.#ctor(System.Collections.Generic.IDictionary{System.String,System.Object},System.Collections.Generic.IEnumerable{System.String})">
            <summary>
            Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs.
            </summary>
            <param name="dictionary">A dictionary to initialize the document from.</param>
            <param name="keys">A list of keys to select values from the dictionary.</param>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.#ctor(System.Collections.Generic.IEnumerable{MongoDB.Bson.BsonElement})">
            <summary>
            Initializes a new instance of the BsonDocument class and adds new elements from a list of elements.
            </summary>
            <param name="elements">A list of elements to add to the document.</param>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.#ctor(MongoDB.Bson.BsonElement[])">
            <summary>
            Initializes a new instance of the BsonDocument class and adds one or more elements.
            </summary>
            <param name="elements">One or more elements to add to the document.</param>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.#ctor(System.String,MongoDB.Bson.BsonValue)">
            <summary>
            Initializes a new instance of the BsonDocument class and creates and adds a new element.
            </summary>
            <param name="name">The name of the element to add to the document.</param>
            <param name="value">The value of the element to add to the document.</param>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.Create(System.Object)">
            <summary>
            Creates a new BsonDocument by mapping an object to a BsonDocument.
            </summary>
            <param name="value">The object to be mapped to a BsonDocument.</param>
            <returns>A BsonDocument.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.ReadFrom(MongoDB.Bson.IO.BsonBuffer)">
            <summary>
            Reads a BsonDocument from a BsonBuffer.
            </summary>
            <param name="buffer">The BsonBuffer.</param>
            <returns>A BsonDocument.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.ReadFrom(MongoDB.Bson.IO.BsonReader)">
            <summary>
            Reads a BsonDocument from a BsonReader.
            </summary>
            <param name="bsonReader">The BsonReader.</param>
            <returns>A BsonDocument.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.ReadFrom(System.Byte[])">
            <summary>
            Reads a BsonDocument from a byte array.
            </summary>
            <param name="bytes">The byte array.</param>
            <returns>A BsonDocument.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.ReadFrom(System.IO.Stream)">
            <summary>
            Reads a BsonDocument from a stream.
            </summary>
            <param name="stream">The stream.</param>
            <returns>A BsonDocument.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.ReadFrom(System.String)">
            <summary>
            Reads a BsonDocument from a file.
            </summary>
            <param name="filename">The name of the file.</param>
            <returns>A BsonDocument.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.Wrap``1(``0)">
            <summary>
            Wraps an object with a BsonDocumentWrapper.
            </summary>
            <typeparam name="TNominalType">The nominal type of the wrapped object.</typeparam>
            <param name="value">The wrapped object.</param>
            <returns>A BsonDocumentWrapper.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.WrapMultiple``1(System.Collections.Generic.IEnumerable{``0})">
            <summary>
            Wraps multiple objects with a list of BsonDocumentWrappers.
            </summary>
            <typeparam name="TNominalType">The nominal type of the wrapped objects.</typeparam>
            <param name="values">The wrapped objects.</param>
            <returns>A list of BsonDocumentWrappers.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.Add(MongoDB.Bson.BsonElement)">
            <summary>
            Adds an element to the document.
            </summary>
            <param name="element">The element to add.</param>
            <returns>The document (so method calls can be chained).</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.Add(System.Collections.Generic.IDictionary{System.String,System.Object})">
            <summary>
            Adds elements to the document from a dictionary of key/value pairs.
            </summary>
            <param name="dictionary">The dictionary.</param>
            <returns>The document (so method calls can be chained).</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.Add(System.Collections.Generic.IDictionary{System.String,System.Object},System.Collections.Generic.IEnumerable{System.String})">
            <summary>
            Adds elements to the document from a dictionary of key/value pairs.
            </summary>
            <param name="dictionary">The dictionary.</param>
            <param name="keys">Which keys of the dictionary to add.</param>
            <returns>The document (so method calls can be chained).</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.Add(System.Collections.Generic.IEnumerable{MongoDB.Bson.BsonElement})">
            <summary>
            Adds a list of elements to the document.
            </summary>
            <param name="elements">The list of elements.</param>
            <returns>The document (so method calls can be chained).</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.Add(System.String,MongoDB.Bson.BsonValue)">
            <summary>
            Creates and adds an element to the document.
            </summary>
            <param name="name">The name of the element.</param>
            <param name="value">The value of the element.</param>
            <returns>The document (so method calls can be chained).</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.Add(System.String,MongoDB.Bson.BsonValue,System.Boolean)">
            <summary>
            Creates and adds an element to the document, but only if the condition is true.
            </summary>
            <param name="name">The name of the element.</param>
            <param name="value">The value of the element.</param>
            <param name="condition">Whether to add the element to the document.</param>
            <returns>The document (so method calls can be chained).</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.Clear">
            <summary>
            Clears the document (removes all elements).
            </summary>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.Clone">
            <summary>
            Creates a shallow clone of the document (see also DeepClone).
            </summary>
            <returns>A new document that is a shallow clone of this document.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.CompareTo(MongoDB.Bson.BsonDocument)">
            <summary>
            Compares this document to another document.
            </summary>
            <param name="other">The other document.</param>
            <returns>A 32-bit singed integer that indicates whether the current document is less than, equal to, or greather than other.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.CompareTo(MongoDB.Bson.BsonValue)">
            <summary>
            Compares this document to another BsonValue (which may or may not be a BsonDocument).
            </summary>
            <param name="other">The other BsonValue.</param>
            <returns>A 32-bit singed integer that indicates whether the current document is less than, equal to, or greather than other.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.Contains(System.String)">
            <summary>
            Tests whether the document contains an element with the specified name.
            </summary>
            <param name="name">The name of the element to look for.</param>
            <returns>True if the document contains an element with the specified name.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.ContainsValue(MongoDB.Bson.BsonValue)">
            <summary>
            Tests whether the document contains an element with the specified value.
            </summary>
            <param name="value">The value of the element to look for.</param>
            <returns>True if the document contains an element with the specified value.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.DeepClone">
            <summary>
            Creates a deep clone of the document (see also Clone).
            </summary>
            <returns>A deep clone of the document.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.Deserialize(MongoDB.Bson.IO.BsonReader,System.Type,MongoDB.Bson.Serialization.IBsonSerializationOptions)">
            <summary>
            Deserializes the document from a BsonReader.
            </summary>
            <param name="bsonReader">The BsonReader.</param>
            <param name="nominalType">The nominal type of the object (ignored, but should be BsonDocument).</param>
            <param name="options">The serialization options (ignored).</param>
            <returns>The document (which has now been initialized by deserialization), or null.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.GetDocumentId(System.Object@,MongoDB.Bson.Serialization.IIdGenerator@)">
            <summary>
            Gets the Id of the document.
            </summary>
            <param name="id">The Id of the document.</param>
            <param name="idGenerator">The IdGenerator for the Id (or null).</param>
            <returns>True (a BsonDocument either has an Id member or one can be added).</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.Equals(MongoDB.Bson.BsonDocument)">
            <summary>
            Compares this document to another document.
            </summary>
            <param name="rhs">The other document.</param>
            <returns>True if both documents are equal.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.Equals(System.Object)">
            <summary>
            Compares this document to another document.
            </summary>
            <param name="rhs">The other document.</param>
            <returns>True if both documents are equal.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.GetElement(System.Int32)">
            <summary>
            Gets an element of this document.
            </summary>
            <param name="index">The zero based index of the element.</param>
            <returns>The element.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.GetElement(System.String)">
            <summary>
            Gets an element of this document.
            </summary>
            <param name="name">The name of the element.</param>
            <returns>A BsonElement.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.GetEnumerator">
            <summary>
            Gets an enumerator that can be used to enumerate the elements of this document.
            </summary>
            <returns>An enumerator.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.GetHashCode">
            <summary>
            Get the hash code for the document.
            </summary>
            <returns>The hash code.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.GetValue(System.Int32)">
            <summary>
            Gets the value of an element.
            </summary>
            <param name="index">The zero based index of the element.</param>
            <returns>The value of the element.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.GetValue(System.String)">
            <summary>
            Gets the value of an element.
            </summary>
            <param name="name">The name of the element.</param>
            <returns>The value of the element.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.GetValue(System.String,MongoDB.Bson.BsonValue)">
            <summary>
            Gets the value of an element or a default value if the element is not found.
            </summary>
            <param name="name">The name of the element.</param>
            <param name="defaultValue">The default value returned if the element is not found.</param>
            <returns>The value of the element or the default value if the element is not found.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.InsertAt(System.Int32,MongoDB.Bson.BsonElement)">
            <summary>
            Inserts a new element at a specified position.
            </summary>
            <param name="index">The position of the new element.</param>
            <param name="element">The element.</param>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.Merge(MongoDB.Bson.BsonDocument)">
            <summary>
            Merges another document into this one. Existing elements are not overwritten.
            </summary>
            <param name="document">The other document.</param>
            <returns>The document (so method calls can be chained).</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.Merge(MongoDB.Bson.BsonDocument,System.Boolean)">
            <summary>
            Merges another document into this one, specifying whether existing elements are overwritten.
            </summary>
            <param name="document">The other document.</param>
            <param name="overwriteExistingElements">Whether to overwrite existing elements.</param>
            <returns>The document (so method calls can be chained).</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.Remove(System.String)">
            <summary>
            Removes an element from this document (if duplicate element names are allowed
            then all elements with this name will be removed).
            </summary>
            <param name="name">The name of the element to remove.</param>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.RemoveAt(System.Int32)">
            <summary>
            Removes an element from this document.
            </summary>
            <param name="index">The zero based index of the element to remove.</param>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.RemoveElement(MongoDB.Bson.BsonElement)">
            <summary>
            Removes an element from this document.
            </summary>
            <param name="element">The element to remove.</param>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.Serialize(MongoDB.Bson.IO.BsonWriter,System.Type,MongoDB.Bson.Serialization.IBsonSerializationOptions)">
            <summary>
            Serializes this document to a BsonWriter.
            </summary>
            <param name="bsonWriter">The writer.</param>
            <param name="nominalType">The nominalType.</param>
            <param name="options">The serialization options (can be null).</param>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.Set(System.Int32,MongoDB.Bson.BsonValue)">
            <summary>
            Sets the value of an element.
            </summary>
            <param name="index">The zero based index of the element whose value is to be set.</param>
            <param name="value">The new value.</param>
            <returns>The document (so method calls can be chained).</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.Set(System.String,MongoDB.Bson.BsonValue)">
            <summary>
            Sets the value of an element (an element will be added if no element with this name is found).
            </summary>
            <param name="name">The name of the element whose value is to be set.</param>
            <param name="value">The new value.</param>
            <returns>The document (so method calls can be chained).</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.SetDocumentId(System.Object)">
            <summary>
            Sets the document Id.
            </summary>
            <param name="id">The value of the Id.</param>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.SetElement(System.Int32,MongoDB.Bson.BsonElement)">
            <summary>
            Sets an element of the document (replacing the existing element at that position).
            </summary>
            <param name="index">The zero based index of the element to replace.</param>
            <param name="element">The new element.</param>
            <returns></returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.SetElement(MongoDB.Bson.BsonElement)">
            <summary>
            Sets an element of the document (replaces any existing element with the same name or adds a new element if an element with the same name is not found).
            </summary>
            <param name="element">The new element.</param>
            <returns></returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.TryGetElement(System.String,MongoDB.Bson.BsonElement@)">
            <summary>
            Tries to get an element of this document.
            </summary>
            <param name="name">The name of the element.</param>
            <param name="value">The element.</param>
            <returns>True if an element with that name was found.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.TryGetValue(System.String,MongoDB.Bson.BsonValue@)">
            <summary>
            Tries to get the value of an element of this document.
            </summary>
            <param name="name">The name of the element.</param>
            <param name="value">The value of the element.</param>
            <returns>True if an element with that name was found.</returns>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.WriteTo(MongoDB.Bson.IO.BsonWriter)">
            <summary>
            Writes the document to a BsonWriter.
            </summary>
            <param name="bsonWriter">The writer.</param>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.WriteTo(MongoDB.Bson.IO.BsonBuffer)">
            <summary>
            Writes the document to a BsonBuffer.
            </summary>
            <param name="buffer">The buffer.</param>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.WriteTo(System.IO.Stream)">
            <summary>
            Writes the document to a Stream.
            </summary>
            <param name="stream">The stream.</param>
        </member>
        <member name="M:MongoDB.Bson.BsonDocument.WriteTo(System.String)">
            <summary>
            Writes the document to a file.
            </summary>
            <param name="filename">The name of the file.</param>
        </member>
        <member name="P:MongoDB.Bson.BsonDocument.Item(System.Int32)">
            <summary>
            Gets or sets the value of an element.
            </summary>
            <param name="index">The zero based index of the element.</param>
            <returns>The value of the element.</returns>
        </member>
        <member name="P:MongoDB.Bson.BsonDocument.Item(System.String,MongoDB.Bson.BsonValue)">
            <summary>
            Gets the value of an element or a default value if the element is not found.
            </summary>
            <param name="name">The name of the element.</param>
            <param name="defaultValue">The default value to return if the element is not found.</param>
            <returns>Teh value of the element or a default value if the element is not found.</returns>
        </member>
        <member name="P:MongoDB.Bson.BsonDocument.Item(System.String)">
            <summary>
            Gets or sets the value of an element.
            </summary>
            <param name="name">The name of the element.</param>
            <returns>The value of the element.</returns>
        </member>
    </members>
</doc>
